﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- Argorithm VC++プロジェクトのインポート用レシピ -->
<!-- Author: TOKUMOTO Susumu -->
<Recipe Name="ImportArgorithmVCPPProject" Bound="true" xmlns="http://schemas.microsoft.com/pag/gax-core">
  <Types>
    <TypeAlias Name="Evaluator" Type="Microsoft.Practices.RecipeFramework.Library.ValueProviders.ExpressionEvaluatorValueProvider,Microsoft.Practices.RecipeFramework.Library" />
  </Types>
  <Caption>Import Argorithm VC++ Project</Caption>
  <HostData>
    <Icon ID="680"/>
    <CommandBar Name="Solution Folder"/>
  </HostData>
	<Arguments>
		<Argument Name="SourceProject" Type="System.String">
		</Argument>
		<Argument Name="CurrentFolder" Type="EnvDTE.Project, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
			<ValueProvider Type="Microsoft.Practices.RecipeFramework.Library.ValueProviders.FirstSelectedProject, Microsoft.Practices.RecipeFramework.Library" />
		</Argument>
    <Argument Name="CopyProject" Type="System.Boolean"/>
    <Argument Name="RelativePath" Type="System.String">
      <ValueProvider Type="Evaluator" Expression=".\..\..\..\"/>
    </Argument>
	</Arguments>
	<GatheringServiceData>
		<Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
			<Pages>
				<Page>
					<Title>Specify Importing Sample Strategy Project</Title>
					<Fields>
						<Field Label="Source Project File" ValueName="SourceProject" ReadOnly="true">
							<Editor Type="EEst.SoftwareFactory.Editors.ProjectChooser, PathfinderSoftwareFactory"/>
						</Field>
            <Field Label="Copy Project Contents" ValueName="CopyProject"/>
          </Fields>
				</Page>
			</Pages>
		</Wizard>
	</GatheringServiceData>
	<Actions>
    <Action Name="ImportArgorithmProject" Type="EEst.SoftwareFactory.Actions.ImportProjectAction, PathfinderSoftwareFactory">
			<Input Name="SourcePath" RecipeArgument="SourceProject"/>
      <Input Name="TargetFolder" RecipeArgument="CurrentFolder"/>
      <Input Name="CopyProject" RecipeArgument="CopyProject"/>
		</Action>
	</Actions>
</Recipe>